< previous page page_296 next page >

Page 296
TABLE 13.1.CONTINUED
Class/Module NameNotable MemberDescription
CurrTaskIDA String property that represents the ID of the current task. Typically, each task would own some object that represents the unit of work to the user, such as a Visual Basic form or MS Word document.
startTask()A method that delegates the actual presentation of the work to the proper role.
endTask()A method that delegates the actual ending of the presentation of the work to the proper role. This is a request to roll back a task.
isCurrTaskCompleteA boolean property that indicates whether a task is complete or not. (You could also get the same information by checking the CurrTaskID property value to see if it changed. However, having an is property explicitly set is easier to maintain in code.)
WorkerRoleA type of controller class that is responsible for displaying the unit of work to the role. A role is created only after the user has successfully logged in and each authorized role has been checked.
arrTaskNameA String array that contains the name of each task performed by the role.
showTask()Shows the form for either Form1 or Form2. Uses CurTaskID to get the right form.
RoleIDA String property that represents the ID of the role.
AllFormsA private collection of forms the role presents to the user.
ManagerRoleSee description for WorkerRole.
arrTaskNameA String array that contains the name of each task performed by the role.
showTask()Shows Form3.
RoleIDA String property that represents the ID of the role.
AllFormsA private collection of forms the role presents to the user.

 
< previous page page_296 next page >

If you like this book, buy it!